package com.grass.cropTradingCenter.service;

import com.grass.cropTradingCenter.pojo.dto.KafkaSendEmailDto;

public interface EmailService {
    public void sendCode(String toEmail);

    public void consumeEmailCode(KafkaSendEmailDto dto);

    void checkIdCode(String email, String idCode);
}
